/*
 * @Author: xinqiao lxq1990.0716@qq.com
 * @Date: 2024-01-25 09:52:18
 * @LastEditors: xinqiao lxq1990.0716@qq.com
 * @LastEditTime: 2024-01-29 10:18:05
 * @FilePath: \h5-components\src\main.ts
 * @Description: 项目入口逻辑
 */
import { createApp } from 'vue'
import App from './App.vue'
const app = createApp(App)

import { setupAntd } from '@/plugins'
setupAntd(app)

import { setupRouter } from './router'
setupRouter(app)

import { setupStore } from '@/store/index'
setupStore(app)

//TODO
import NutUI from '@nutui/nutui'
import '@nutui/nutui/dist/style.css'
app.use(NutUI)
//TODO

app.mount('#app')

import { loadDoc } from '@/service/packages'
loadDoc()

import '../packages/common/style.less'
import '@/assets/style/md.less'
import '@/assets/style/hljs.less'
import '@/assets/style/reset.less'
